<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<style>
    #content{
        background-color: white;
        padding: 8px;
    }
</style>
<div class="span-19">
<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'chpass-student-form-chpass-form',
    'type' => 'horizontal',
//    'htmlOptions' => array('enctype' => 'multipart/form-data'),
    'enableAjaxValidation' => TRUE,
        ));
?>
<?php echo $form->passwordFieldRow($model, 'old_password', array('class' => 'span5', 'maxlength' => 160)); ?>
<?php echo $form->passwordFieldRow($model, 'new_password', array('class' => 'span5', 'maxlength' => 160)); ?>
<?php echo $form->passwordFieldRow($model, 're_new_password', array('class' => 'span5', 'maxlength' => 160)); ?>

<div class="form-actions" whidt>
    <?php
    $this->widget('bootstrap.widgets.TbButton', array(
        'buttonType' => 'submit',
        'type' => 'primary',
        'label' => 'Rubah password',
    ));
    ?>
</div>

<?php $this->endWidget(); ?>
</div>
